<?php
class JobCategory extends UaModel {
	var $name = "JobCategory";
		
  function getAllCategories($cid) {
		global $g_db;
		$sql = "select id from eos_jobcategory where id=" . $cid . " OR parentid=" . $cid;
		
		return $g_db->GetAll ( $sql );
	}
}
?>

